package com.yungu.swift.assets.passenger.model.dto;

import com.yungu.swift.base.model.BaseDto;
import com.yungu.swift.base.model.annotation.AbsoluteImgPath;
import com.yungu.swift.constants.CommonConstant;

import java.util.Date;


/**
 * 乘客信息dto
 **/
public class PassengerMessageDto extends BaseDto {

    /**
     * 消息类型（1：系统消息，2：反馈回复）
     */
    private Integer type;
    /**
     * 活动图片
     **/
    @AbsoluteImgPath
    private String pic;

    /**
     * 消息标题
     **/
    private String title;

    /**
     * 内容
     **/
    private String content;

    /**
     * 消息链接
     **/
    private String linkUrl;

    /**
     * 发送时间
     **/
    private Date sendTime;

    /**
     * 发送的城市（2：指定城市 1：全部）
     **/
    private Integer sendTargetCity;

    /**
     * 城市uuid
     **/
    private String cityUuid;


    // 非数据库字段

    /**
     * 乘客名称
     **/
    private String targetName;

    /**
     * 阅读时间
     **/
    private Date readTime;

    /**
     * 消息状态（1:未读、2:已读 3删除）
     **/
    private Integer status;

    /**
     * 城市
     **/
    private String city;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getPic() {
        return this.pic;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return this.title;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return this.content;
    }

    public void setLinkUrl(String linkUrl) {
        this.linkUrl = linkUrl;
    }

    public String getLinkUrl() {
        return this.linkUrl;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public Date getSendTime() {
        return this.sendTime;
    }

    public void setSendTargetCity(Integer sendTargetCity) {
        this.sendTargetCity = sendTargetCity;
    }

    public Integer getSendTargetCity() {
        return this.sendTargetCity;
    }

    public void setCityUuid(String cityUuid) {
        this.cityUuid = cityUuid;
    }

    public String getCityUuid() {
        return this.cityUuid;
    }


    public Integer getTargetType() {
        return new Integer(CommonConstant.PASSENGER);
    }

    public String getTargetName() {
        return targetName;
    }

    public void setTargetName(String targetName) {
        this.targetName = targetName;
    }

    public Date getReadTime() {
        return readTime;
    }

    public void setReadTime(Date readTime) {
        this.readTime = readTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }
}
